
<div class="section section-small" style="height:260px;">
<div class="section-header">
<h5>
Today's Delivering Vehicles
<small></small>
</h5>


</div>
<div class="section-body">
<?php 
if(mysql_num_rows($result_Todaysdelivering))
{  ?> 
<table class="table table-striped table-condensed" id="vehicles-table">
<tbody>
<?php    
while($result=mysql_fetch_object($result_Todaysdelivering)) {?>    
<tr>
<td>
       <small><?php echo "#".$result->vehicle_id ?></small>
<a href="view_page.php?id=<?php echo $result->vehicle_id ?>"><?php echo $result->year." ".$result->make." ".$result->model ?></a>
</td>
<td>
<?php 
	if($result->status_name=="Delivered")
	{?>
	<span class="label label-success"><?php echo $result->status_name ?></span>
		<?php }
	else if($result->status_name=="Inprogress")
	{?>
		<span class="label label-info"><?php echo $result->status_name ?></span>
	<?php }
	else if($result->status_name=="New vehicle")
	{?>
		<span class="label label-warning"><?php echo $result->status_name ?></span>
	<?php }?>
<small>
<?php echo $result->v_street_address." ". $result->v_city." ". $result->v_state ?>
</small>
</td>
<td class="ar" style="width:65px">

</td>
</tr>
<?php } ?>

</tbody>
</table>
    
<?php }
else
{?>
    <div class="row-fluid">
        <div class="span12 ac">
            <div class="data-block" style="margin-top: 85px;">
                <h2 style="color: #999;">No Vehicles</h2>
            </div>
        </div>
        
    </div>
  
<?php }
?>


</div>

</div>
